package com.atjinggu.jinggumail.search.feign;

import com.atjinggu.jinggumail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author jingming
 * @Type ProductFeignService.java
 * @Desc
 * @date 2021/2/15 15:37
 */
@FeignClient("jinggumail-product")
public interface ProductFeignService {

    @GetMapping("product/attr/info/{attrId}")
    public R getAttrInfo(@PathVariable("attrId") Long attrId);
}